package com.ruoyi.chat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息置顶对象 jy_chat_last
 *
 * @author ch
 * @date 2022-03-03
 */
@ApiModel
public class ChatLast extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private Long memberId;

    /** 门店头像 */
    @Excel(name = "门店头像")
    @ApiModelProperty(value = "门店头像")
    private String storeHeadImg;

    /** 门店昵称 */
    @Excel(name = "门店昵称")
    @ApiModelProperty(value = "门店昵称")
    private String storeNickName;

    /** 消息类型 */
    @Excel(name = "消息类型")
    @ApiModelProperty(value = "消息类型")
    private String msgType;

    /** 消息内容 */
    @Excel(name = "消息内容")
    @ApiModelProperty(value = "消息内容")
    private String content;

    /** 门店未读 */
    @Excel(name = "门店未读")
    @ApiModelProperty(value = "门店未读")
    private Long storeUnread;

    /** 用户头像 */
    @Excel(name = "用户头像")
    @ApiModelProperty(value = "用户头像")
    private String memberHeadImg;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    @ApiModelProperty(value = "用户昵称")
    private String memberNickName;

    /** 用户未读 */
    @Excel(name = "用户未读")
    @ApiModelProperty(value = "用户未读")
    private Long memberUnread;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setStoreHeadImg(String storeHeadImg)
    {
        this.storeHeadImg = storeHeadImg;
    }

    public String getStoreHeadImg()
    {
        return storeHeadImg;
    }
    public void setStoreNickName(String storeNickName)
    {
        this.storeNickName = storeNickName;
    }

    public String getStoreNickName()
    {
        return storeNickName;
    }
    public void setMsgType(String msgType)
    {
        this.msgType = msgType;
    }

    public String getMsgType()
    {
        return msgType;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setStoreUnread(Long storeUnread)
    {
        this.storeUnread = storeUnread;
    }

    public Long getStoreUnread()
    {
        return storeUnread;
    }
    public void setMemberHeadImg(String memberHeadImg)
    {
        this.memberHeadImg = memberHeadImg;
    }

    public String getMemberHeadImg()
    {
        return memberHeadImg;
    }
    public void setMemberNickName(String memberNickName)
    {
        this.memberNickName = memberNickName;
    }

    public String getMemberNickName()
    {
        return memberNickName;
    }
    public void setMemberUnread(Long memberUnread)
    {
        this.memberUnread = memberUnread;
    }

    public Long getMemberUnread()
    {
        return memberUnread;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("memberId", getMemberId())
            .append("storeHeadImg", getStoreHeadImg())
            .append("storeNickName", getStoreNickName())
            .append("msgType", getMsgType())
            .append("content", getContent())
            .append("storeUnread", getStoreUnread())
            .append("delState", getDelState())
            .append("memberHeadImg", getMemberHeadImg())
            .append("delUser", getDelUser())
            .append("memberNickName", getMemberNickName())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("memberUnread", getMemberUnread())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
